#ifndef TEXTSELECT_H
#define TEXTSELECT_H

#include"common.h"
#include <QWidget>

namespace Ui {
    class TextSelect;
}

class TextSelect : public QWidget
{
    Q_OBJECT

public:
    explicit TextSelect(QWidget *parent = 0);
    ~TextSelect();

private:
    Ui::TextSelect *ui;
    int cipherNo;
    vector<bit> PlainVector;
    vector<bit> KeyVector;
    vector<bit> CipherVector;
    QString CipherSelect;

private slots:
    void setPlainpath();
    void setKeypath();
    void setCipherpath();
    void getEncryption();

public slots:
    void getCipher(QString selectName);

};

#endif // TEXTSELECT_H
